package net.trustie.pipeline;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import us.codecraft.webmagic.Task;
import net.trustie.dao.LinuxtoneDao;
import net.trustie.model.linuxtone_Model;
import core.PageModelPipeline;

@Component("linuxtone_pipeline")
public class Linuxtone_pipeline implements PageModelPipeline<linuxtone_Model> {
	@Resource
	private LinuxtoneDao linuxtoneDao;

	@Override
	public void process(linuxtone_Model linuxtone_Model, Task task) {
		linuxtoneDao.add(linuxtone_Model);
	}

}
